package me.buick.util.snmp.core.dao.impl.snmp.os.linux.entity;

import java.io.Serializable;

import org.opengoss.snmphibernate.api.SmiType;
import org.opengoss.snmphibernate.api.annotation.MibIndex;
import org.opengoss.snmphibernate.api.annotation.MibObjectType;
import org.opengoss.snmphibernate.api.annotation.MibTable;
import org.opengoss.snmphibernate.api.annotation.MibObjectType.Access;


/**
 * 
 * Java data converter for SNMP table hrStorageTable ".1.3.6.1.2.1.25.2.3"
 * 
 * You can find the definition at HOST-RESOURCES-MIB-->hrStorage-->hrStorageTable
 * 
 * @author buick
 *
 */

@SuppressWarnings("serial")
@MibTable
public class HrDiskUsageEntry implements Serializable{
	
	@MibIndex(no = 1, length = 1)
	@MibObjectType(oid = ".1.3.6.1.2.1.25.2.3.1.1", smiType = SmiType.INTEGER, access = Access.READ) //$NON-NLS-1$
	private int hrStorageIndex;
	
	@MibObjectType(oid = ".1.3.6.1.2.1.25.2.3.1.3", smiType = SmiType.DISPLAY_STRING, access = Access.READ) //$NON-NLS-1$
	private String hrStorageDescr;
	
	@MibObjectType(oid = ".1.3.6.1.2.1.25.2.3.1.4", smiType = SmiType.INTEGER, access = Access.READ) //$NON-NLS-1$
	private long hrAllocationUnits;
	
	@MibObjectType(oid = ".1.3.6.1.2.1.25.2.3.1.5", smiType = SmiType.INTEGER, access = Access.READ) //$NON-NLS-1$
	private long hrStorageSize;
	
	@MibObjectType(oid = ".1.3.6.1.2.1.25.2.3.1.6", smiType = SmiType.INTEGER, access = Access.READ) //$NON-NLS-1$
	private long hrStorageUsed;
	
	public HrDiskUsageEntry() {
		
	}
	
	public HrDiskUsageEntry(int index){
		this.hrStorageIndex = index;
	}

	public int getHrStorageIndex() {
		return hrStorageIndex;
	}

	public void setHrStorageIndex(int hrStorageIndex) {
		this.hrStorageIndex = hrStorageIndex;
	}

	public String getHrStorageDescr() {
		return hrStorageDescr;
	}

	public void setHrStorageDescr(String hrStorageDescr) {
		this.hrStorageDescr = hrStorageDescr;
	}
	
	public long getHrAllocationUnits() {
		return hrAllocationUnits;
	}

	public void setHrAllocationUnits(long hrAllocationUnits) {
		this.hrAllocationUnits = hrAllocationUnits;
	}

	public long getHrStorageSize() {
		return hrStorageSize;
	}

	public void setHrStorageSize(long hrStorageSize) {
		this.hrStorageSize = hrStorageSize;
	}

	public long getHrStorageUsed() {
		return hrStorageUsed;
	}

	public void setHrStorageUsed(long hrStorageUsed) {
		this.hrStorageUsed = hrStorageUsed;
	}
}
